/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package be.ugent.maf.cellmissy.gui.experiment.analysis.singlecell;

import javax.swing.JButton;
import javax.swing.JList;
import javax.swing.JPanel;
import javax.swing.JSlider;
import javax.swing.JTable;
import javax.swing.JTextField;

/**
 *
 * @author Paola Masuzzo <paola.masuzzo@ugent.be>
 */
public class ExploreTrackPanel extends javax.swing.JPanel {

    public JPanel getGraphicsParentPanel() {
        return graphicsParentPanel;
    }

    public JPanel getCoordinatesParentPanel() {
        return coordinatesParentPanel;
    }

    public JSlider getTimeSlider() {
        return timeSlider;
    }

    public JButton getPlayButton() {
        return playButton;
    }

    public JButton getStopButton() {
        return stopButton;
    }

    public JList getTracksList() {
        return tracksList;
    }

    public JTextField getxTextField() {
        return xTextField;
    }

    public JPanel getxYTCoordinatesParentPanel() {
        return xYTCoordinatesParentPanel;
    }

    public JPanel getDisplacementTParentPanel() {
        return displacementTParentPanel;
    }

    public JPanel getDirectionalityRatioGraphicsParentPanel() {
        return directionalityRatioGraphicsParentPanel;
    }

    public JPanel getDirectionAutocorrelationsGraphicsParentPanel() {
        return directionAutocorrelationsGraphicsParentPanel;
    }

    public JPanel getDirectionAutocorrelationTimeOneGraphicsParentPanel() {
        return directionAutocorrelationTimeOneGraphicsParentPanel;
    }

    public JTextField getyTextField() {
        return yTextField;
    }

    public JTable getTrackDataTable() {
        return trackDataTable;
    }

    public JPanel getConvexHullGraphicsParentPanel() {
        return convexHullGraphicsParentPanel;
    }

    public JTable getConvexHullTable() {
        return convexHullTable;
    }

    public JPanel getPlotSettingsPanel() {
        return plotSettingsPanel;
    }

    public JButton getClearSelectionButton() {
        return clearSelectionButton;
    }

    /**
     * Creates new form ExploreTrackPanel
     */
    public ExploreTrackPanel() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {
        java.awt.GridBagConstraints gridBagConstraints;

        graphicsParentPanel = new javax.swing.JPanel();
        rightPanel = new javax.swing.JPanel();
        plotSettingsPanel = new javax.swing.JPanel();
        clearSelectionButton = new javax.swing.JButton();
        tracksListPanel = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        tracksList = new javax.swing.JList();
        jTabbedPane1 = new javax.swing.JTabbedPane();
        shiftedCoordinatesPanel = new javax.swing.JPanel();
        coordinatesParentPanel = new javax.swing.JPanel();
        tablePanel = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        trackDataTable = new javax.swing.JTable();
        temporalEvolutionPanel = new javax.swing.JPanel();
        timeSliderPanel = new javax.swing.JPanel();
        timeSlider = new javax.swing.JSlider();
        jLabel5 = new javax.swing.JLabel();
        xTextField = new javax.swing.JTextField();
        jLabel6 = new javax.swing.JLabel();
        yTextField = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        playButton = new javax.swing.JButton();
        stopButton = new javax.swing.JButton();
        temporalPlotsTabbedPane = new javax.swing.JTabbedPane();
        xYTCoordinatesParentPanel = new javax.swing.JPanel();
        displacementTParentPanel = new javax.swing.JPanel();
        convexHullPanel = new javax.swing.JPanel();
        convexHullGraphicsParentPanel = new javax.swing.JPanel();
        convexHullInfoPanel = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        convexHullTable = new javax.swing.JTable();
        directionalityPanel = new javax.swing.JPanel();
        directionAutocorrelationsGraphicsParentPanel = new javax.swing.JPanel();
        directionAutocorrelationTimeOneGraphicsParentPanel = new javax.swing.JPanel();
        directionalityRatioGraphicsParentPanel = new javax.swing.JPanel();

        setPreferredSize(new java.awt.Dimension(400, 600));
        setLayout(new java.awt.GridBagLayout());

        graphicsParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        graphicsParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        graphicsParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 0.5;
        gridBagConstraints.weighty = 0.5;
        add(graphicsParentPanel, gridBagConstraints);

        rightPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        rightPanel.setPreferredSize(new java.awt.Dimension(20, 20));

        plotSettingsPanel.setLayout(new java.awt.BorderLayout());

        clearSelectionButton.setText("Clear Selection On List");

        javax.swing.GroupLayout rightPanelLayout = new javax.swing.GroupLayout(rightPanel);
        rightPanel.setLayout(rightPanelLayout);
        rightPanelLayout.setHorizontalGroup(
            rightPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(rightPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addGroup(rightPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(plotSettingsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 143, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(clearSelectionButton))
                .addContainerGap())
        );
        rightPanelLayout.setVerticalGroup(
            rightPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(rightPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(plotSettingsPanel, javax.swing.GroupLayout.PREFERRED_SIZE, 22, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(clearSelectionButton)
                .addContainerGap(308, Short.MAX_VALUE))
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.2;
        gridBagConstraints.weighty = 0.5;
        add(rightPanel, gridBagConstraints);

        tracksListPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        tracksListPanel.setPreferredSize(new java.awt.Dimension(20, 20));

        jScrollPane1.setBorder(javax.swing.BorderFactory.createTitledBorder("Plotted Tracks"));

        tracksList.setSelectionMode(javax.swing.ListSelectionModel.SINGLE_SELECTION);
        jScrollPane1.setViewportView(tracksList);

        javax.swing.GroupLayout tracksListPanelLayout = new javax.swing.GroupLayout(tracksListPanel);
        tracksListPanel.setLayout(tracksListPanelLayout);
        tracksListPanelLayout.setHorizontalGroup(
            tracksListPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tracksListPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 302, Short.MAX_VALUE)
                .addContainerGap())
        );
        tracksListPanelLayout.setVerticalGroup(
            tracksListPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tracksListPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE)
                .addContainerGap())
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.3;
        gridBagConstraints.weighty = 0.5;
        add(tracksListPanel, gridBagConstraints);

        jTabbedPane1.setTabPlacement(javax.swing.JTabbedPane.RIGHT);

        shiftedCoordinatesPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        shiftedCoordinatesPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        shiftedCoordinatesPanel.setLayout(new java.awt.GridBagLayout());

        coordinatesParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        coordinatesParentPanel.setName(""); // NOI18N
        coordinatesParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        coordinatesParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.5;
        gridBagConstraints.weighty = 1.0;
        shiftedCoordinatesPanel.add(coordinatesParentPanel, gridBagConstraints);

        tablePanel.setMinimumSize(new java.awt.Dimension(20, 20));
        tablePanel.setPreferredSize(new java.awt.Dimension(20, 20));

        jScrollPane2.setBorder(javax.swing.BorderFactory.createTitledBorder("Selected Track Data"));

        trackDataTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane2.setViewportView(trackDataTable);

        javax.swing.GroupLayout tablePanelLayout = new javax.swing.GroupLayout(tablePanel);
        tablePanel.setLayout(tablePanelLayout);
        tablePanelLayout.setHorizontalGroup(
            tablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tablePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 458, Short.MAX_VALUE)
                .addContainerGap())
        );
        tablePanelLayout.setVerticalGroup(
            tablePanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(tablePanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 360, Short.MAX_VALUE)
                .addContainerGap())
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.5;
        gridBagConstraints.weighty = 1.0;
        shiftedCoordinatesPanel.add(tablePanel, gridBagConstraints);

        jTabbedPane1.addTab("track data", shiftedCoordinatesPanel);

        temporalEvolutionPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        temporalEvolutionPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        temporalEvolutionPanel.setLayout(new java.awt.GridBagLayout());

        timeSliderPanel.setBorder(javax.swing.BorderFactory.createTitledBorder("Time Frames"));
        timeSliderPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        timeSliderPanel.setName(""); // NOI18N
        timeSliderPanel.setPreferredSize(new java.awt.Dimension(20, 20));

        jLabel5.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel5.setText("x (µm) =");

        xTextField.setEditable(false);
        xTextField.setBorder(null);
        xTextField.setFocusable(false);

        jLabel6.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel6.setText("y (µm) =");

        yTextField.setEditable(false);
        yTextField.setBorder(null);
        yTextField.setFocusable(false);

        jLabel1.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel1.setText("Advance Frames Manually");

        jLabel2.setFont(new java.awt.Font("Tahoma", 1, 11)); // NOI18N
        jLabel2.setText("Play Movie");

        playButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/playIcon.png"))); // NOI18N
        playButton.setText("Play");

        stopButton.setIcon(new javax.swing.ImageIcon(getClass().getResource("/icons/stopIcon.png"))); // NOI18N
        stopButton.setText("Stop");

        javax.swing.GroupLayout timeSliderPanelLayout = new javax.swing.GroupLayout(timeSliderPanel);
        timeSliderPanel.setLayout(timeSliderPanelLayout);
        timeSliderPanelLayout.setHorizontalGroup(
            timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(timeSliderPanelLayout.createSequentialGroup()
                .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(timeSliderPanelLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel6)
                            .addComponent(jLabel5))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(xTextField)
                            .addComponent(yTextField)))
                    .addGroup(timeSliderPanelLayout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(timeSlider, javax.swing.GroupLayout.DEFAULT_SIZE, 255, Short.MAX_VALUE))
                    .addGroup(timeSliderPanelLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jLabel1)
                            .addGroup(timeSliderPanelLayout.createSequentialGroup()
                                .addGap(9, 9, 9)
                                .addComponent(jLabel2))
                            .addComponent(playButton))
                        .addGap(0, 0, Short.MAX_VALUE)))
                .addContainerGap())
            .addGroup(timeSliderPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(stopButton, javax.swing.GroupLayout.PREFERRED_SIZE, 91, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        timeSliderPanelLayout.linkSize(javax.swing.SwingConstants.HORIZONTAL, playButton, stopButton);

        timeSliderPanelLayout.setVerticalGroup(
            timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(timeSliderPanelLayout.createSequentialGroup()
                .addGap(15, 15, 15)
                .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addComponent(timeSlider, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(18, 18, 18)
                .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(xTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(timeSliderPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(yTextField, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(30, 30, 30)
                .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(playButton)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(stopButton)
                .addContainerGap(124, Short.MAX_VALUE))
        );

        timeSliderPanelLayout.linkSize(javax.swing.SwingConstants.VERTICAL, playButton, stopButton);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.3;
        gridBagConstraints.weighty = 1.0;
        temporalEvolutionPanel.add(timeSliderPanel, gridBagConstraints);

        temporalPlotsTabbedPane.setMinimumSize(new java.awt.Dimension(20, 20));
        temporalPlotsTabbedPane.setPreferredSize(new java.awt.Dimension(20, 20));

        xYTCoordinatesParentPanel.setLayout(new java.awt.GridBagLayout());
        temporalPlotsTabbedPane.addTab("(x, y)", xYTCoordinatesParentPanel);

        displacementTParentPanel.setLayout(new java.awt.GridBagLayout());
        temporalPlotsTabbedPane.addTab("displacements", displacementTParentPanel);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.weightx = 0.7;
        gridBagConstraints.weighty = 1.0;
        temporalEvolutionPanel.add(temporalPlotsTabbedPane, gridBagConstraints);

        jTabbedPane1.addTab("temporal evolution", temporalEvolutionPanel);

        convexHullPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        convexHullPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        convexHullPanel.setLayout(new java.awt.GridBagLayout());

        convexHullGraphicsParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        convexHullGraphicsParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        convexHullGraphicsParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.6;
        gridBagConstraints.weighty = 1.0;
        convexHullPanel.add(convexHullGraphicsParentPanel, gridBagConstraints);

        convexHullInfoPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        convexHullInfoPanel.setPreferredSize(new java.awt.Dimension(20, 20));

        jScrollPane3.setBorder(javax.swing.BorderFactory.createTitledBorder("Convex Hull Data"));

        convexHullTable.setModel(new javax.swing.table.DefaultTableModel(
            new Object [][] {
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null},
                {null, null, null, null}
            },
            new String [] {
                "Title 1", "Title 2", "Title 3", "Title 4"
            }
        ));
        jScrollPane3.setViewportView(convexHullTable);

        javax.swing.GroupLayout convexHullInfoPanelLayout = new javax.swing.GroupLayout(convexHullInfoPanel);
        convexHullInfoPanel.setLayout(convexHullInfoPanelLayout);
        convexHullInfoPanelLayout.setHorizontalGroup(
            convexHullInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(convexHullInfoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.DEFAULT_SIZE, 366, Short.MAX_VALUE)
                .addContainerGap())
        );
        convexHullInfoPanelLayout.setVerticalGroup(
            convexHullInfoPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(convexHullInfoPanelLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 301, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap())
        );

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.4;
        gridBagConstraints.weighty = 1.0;
        convexHullPanel.add(convexHullInfoPanel, gridBagConstraints);

        jTabbedPane1.addTab("convex hull", convexHullPanel);

        directionalityPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        directionalityPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        directionalityPanel.setLayout(new java.awt.GridBagLayout());

        directionAutocorrelationsGraphicsParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        directionAutocorrelationsGraphicsParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        directionAutocorrelationsGraphicsParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.3;
        gridBagConstraints.weighty = 1.0;
        directionalityPanel.add(directionAutocorrelationsGraphicsParentPanel, gridBagConstraints);

        directionAutocorrelationTimeOneGraphicsParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        directionAutocorrelationTimeOneGraphicsParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        directionAutocorrelationTimeOneGraphicsParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 1;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.3;
        gridBagConstraints.weighty = 1.0;
        directionalityPanel.add(directionAutocorrelationTimeOneGraphicsParentPanel, gridBagConstraints);

        directionalityRatioGraphicsParentPanel.setMinimumSize(new java.awt.Dimension(20, 20));
        directionalityRatioGraphicsParentPanel.setPreferredSize(new java.awt.Dimension(20, 20));
        directionalityRatioGraphicsParentPanel.setLayout(new java.awt.GridBagLayout());
        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 2;
        gridBagConstraints.gridy = 0;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.3;
        gridBagConstraints.weighty = 1.0;
        directionalityPanel.add(directionalityRatioGraphicsParentPanel, gridBagConstraints);

        jTabbedPane1.addTab("directionality", directionalityPanel);

        gridBagConstraints = new java.awt.GridBagConstraints();
        gridBagConstraints.gridx = 0;
        gridBagConstraints.gridy = 1;
        gridBagConstraints.gridwidth = 3;
        gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH;
        gridBagConstraints.anchor = java.awt.GridBagConstraints.NORTH;
        gridBagConstraints.weightx = 0.6;
        gridBagConstraints.weighty = 0.5;
        add(jTabbedPane1, gridBagConstraints);
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton clearSelectionButton;
    private javax.swing.JPanel convexHullGraphicsParentPanel;
    private javax.swing.JPanel convexHullInfoPanel;
    private javax.swing.JPanel convexHullPanel;
    private javax.swing.JTable convexHullTable;
    private javax.swing.JPanel coordinatesParentPanel;
    private javax.swing.JPanel directionAutocorrelationTimeOneGraphicsParentPanel;
    private javax.swing.JPanel directionAutocorrelationsGraphicsParentPanel;
    private javax.swing.JPanel directionalityPanel;
    private javax.swing.JPanel directionalityRatioGraphicsParentPanel;
    private javax.swing.JPanel displacementTParentPanel;
    private javax.swing.JPanel graphicsParentPanel;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JButton playButton;
    private javax.swing.JPanel plotSettingsPanel;
    private javax.swing.JPanel rightPanel;
    private javax.swing.JPanel shiftedCoordinatesPanel;
    private javax.swing.JButton stopButton;
    private javax.swing.JPanel tablePanel;
    private javax.swing.JPanel temporalEvolutionPanel;
    private javax.swing.JTabbedPane temporalPlotsTabbedPane;
    private javax.swing.JSlider timeSlider;
    private javax.swing.JPanel timeSliderPanel;
    private javax.swing.JTable trackDataTable;
    private javax.swing.JList tracksList;
    private javax.swing.JPanel tracksListPanel;
    private javax.swing.JTextField xTextField;
    private javax.swing.JPanel xYTCoordinatesParentPanel;
    private javax.swing.JTextField yTextField;
    // End of variables declaration//GEN-END:variables
}
